import Mock from 'mockjs'
// webpack默认对外暴露：图片、json
//轮播图数据
import banner from '@/mock/banner.json'
//楼层数据
import floor from '@/mock/floor.json'

// mock数据
Mock.mock('/mock/banner',{code:200,data:banner})
Mock.mock('/mock/floor',{code:200,data:floor})